<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta http-equiv='content-type' content="text/html;charset=UTF-8">
    <meta name="author" content="">

    <title>肉品溯源商城后台管理系统</title>
    <link href="/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/vendor/metisMenu/metisMenu.min.css" rel="stylesheet">
    <link href="/dist/css/sb-admin-2.css" rel="stylesheet">
    <link href="/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

</head>

<body>

    <div id="wrapper">
        <#include "shopMenu.ftl">
        <div id="page-wrapper">
   <#--         <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header"> </h1>
                </div>
            </div>-->
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            表单数据
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                    <form role="form" action="/shop/admin/Type/edit" method="post">
                                        <div class="form-group">
                                            <label>商品类型编号:</label>
                                            <input name="gid" type="text"  class="form-control"  value="${producetypeInfo.gid}"  readonly/>
                                        </div>
                                        <div class="form-group">
                                            <label>商品类型名称:</label>
                                            <input name="proctypename" type="text" class="form-control" readonly value="${producetypeInfo.proctypename}" />
                                        </div>
                                        <div class="form-group">
                                            <label>使用状态:</label>
                                            <#if producetypeInfo.state == '1'>
                                                 <select name='state' class="form-control">
                                                     <option value="1" selected>使用中</option>
                                                     <option value="0">未使用</option>
                                                 </select>
                                            <#else>
                                                    <select name='state' class="form-control">
                                                             <option value="1" selected>使用中</option>
                                                             <option value="0">未使用</option>
                                                      </select>

                                            </#if>
                                        </div>
                                        <div class="form-group">
                                            <label>创建时间</label><br/>
                                            <input name="recaddtime"  class="form-control" id="test1" value="${(producetypeInfo.recaddtime?string('yyyy-MM-dd'))}" />
                                        </div>
										<div class="form-group">
                                            <label>创建人编号</label><br/>
                                            <input name="creator"  class="form-control" value="${producetypeInfo.creator}" />
                                        </div>
                                        <div class="form-group">
                                            <label>备注</label><br/>
                                            <input name="recmemo"  class="form-control" value="${producetypeInfo.recmemo}" />
                                        </div>
										<input type="submit" class='btn btn-outline btn-primary btn-lg btn-block' value="提交">
										
									</form>
                                </div>
                                
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <script src="/vendor/jquery/jquery.min.js"></script>
    <script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
    <script src="/vendor/metisMenu/metisMenu.min.js"></script>
    <script src="/dist/js/sb-admin-2.js"></script>
    <script src="/laydate/laydate.js"></script>
    <script type="text/javascript" charset="UTF-8">
        //时间选择组件
        laydate.render({
            elem: '#test1' //指定元素
        });
        laydate.render({
            elem: '#test2' //指定元素
        });
        laydate.render({
            elem: '#test3' //指定元素
        });
    </script>

</body>

</html>
